#ifndef __GamePage_H__
#define __GamePage_H__

#include "cocos2d.h"
USING_NS_CC;

#include "GameGrid.h"
#include "GameItemManager.h"

class CGamePage :public Scene
{
public:
	CGamePage();
	virtual ~CGamePage();

	virtual bool init();
	void initWithData(CLevelData* pData);

	CC_SYNTHESIZE(CLevelData*, m_pData, Data);

	CC_SYNTHESIZE_READONLY(CGameGrid*, m_pGrid, Grid);
	CC_SYNTHESIZE_READONLY(CGameItemManager*, m_pItemManager, ItemManager);

	CREATE_FUNC(CGamePage);
private:

};

#endif